//
//  HomePageViewController.m
//  Automobile-Parts
//
//  Created by 陈越 on 2017/11/20.
//  Copyright © 2017年 陈越. All rights reserved.
//

#import "HomePageViewController.h"
#import "BanViewController.h"
#import "OnWorkViewController.h"
#import "WorkCompleteViewController.h"
@interface HomePageViewController ()
@property (nonatomic, strong) BanViewController *aVC;
@property (nonatomic, strong) OnWorkViewController *bVC;
@property (nonatomic, strong) WorkCompleteViewController *cVC;
@end

@implementation HomePageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _aVC = [[BanViewController alloc]init];
    _bVC = [[OnWorkViewController alloc]init];
    _cVC = [[WorkCompleteViewController alloc]init];
    self.titles = @[@"排班", @"正在维修",@"维修完成"];
    self.viewControllers = @[_aVC,_bVC,_cVC];
    self.currentIndex = self.currentItem;
    [self reloadData];

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
  
}



@end
